package com.jichangxiu.common.entity.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Payload<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    private String jti;

    private String jwt;

    private T userInfo;

    private Date expiration;

}
